//package com.hs.jhzd.repository;
//
//import java.util.List;
//import org.springframework.data.jpa.repository.JpaRepository;
//import org.springframework.data.jpa.repository.Query;
//import org.springframework.data.repository.query.Param;
//import org.springframework.stereotype.Repository;
//import com.hs.jhzd.entity.Foods;
//
//@Repository
//public interface FoodsRepository extends JpaRepository<Foods, Long> {
//
//  @Query("select u from Foods u where u.jsbh= :jsbh and  u.date >= :startTime and u.date<= :endTime")
//  public List<Foods> findFoods(@Param("jsbh") String jsbh, @Param("startTime") String startTime,
//      @Param("endTime") String endTime);
//
//
//}
